home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
mcu
/
macros05.arc
/
READ.ME
< prev
next >
Wrap
Text File
|
1990-05-16
|
3KB
|
77 lines
Information for M6805 Macro Archive File, MACROS05.ARC - 05/16/90
=================================================================
+---------------------------------------------------------+
| For additional information, obtain Motorola Application |
| Note AN1055 from your nearest Motorola Literature |
| Distribution Center, such as: |
| Literature Distribution Center (LDC) |
| P.O. Box 20912 |
| Phoenix, AZ 85036 U.S.A. |
| (602) 994-6561 |
| Or contact your local Motorola Representative. |
+---------------------------------------------------------+
The following files are included in this archive:
Filename Description
------------- ----------------------------------------------
READ.ME This file
MACROS05.MAC M6805 macro INCLUDE file
RAMSBR.INI RAM subr. INCLUDE file
EXAMPLE.S Example source file (modifiable by user!)
MAKE1.BAT Batch file to make TEST1.S file
TEST1.S Test file #1 (low memory)
TEST1.LST Test file #1 assembly listing file.
TEST1.MX Test file #1 S-record object file (ASCII text).
TEST1.CF CDS8 M68HC05 Emulator command file for TEST1
MAKE2.BAT Batch file to make TEST2.S file
TEST2.S Test file #2 (high memory)
TEST2.LST Test file #2 assembly listing file.
TEST2.MX Test file #2 S-record object file (ASCII text).
TEST2.CF CDS8 M68HC05 Emulator command file for TEST2
In order to understand the M6805 macros, it is suggested that the user
first read the MACROS05.MAC and RAMSBR.INI files. Then read the TEST1.S
and TEST2.S files. Lastly, use PASM05 to compile the test files by
executing the batch files (*.BAT) by simply entering MAKE1, then MAKE2.
The best way to incorporate the macros into your program is to first
place all the files in a new working directory named MYPROJ (you can
choose any names here you want) after dearchiving them in your current
directory (hopefully the current directory was empty when you started!).
You may want to make a backup/archive copy of the original directory
contents for when the next project starts or as protection against a
possible disaster.
C>MKDIR \MYPROJ
C>COPY *.* \MYPROJ
C>CD \MYPROJ
Then copy the EXAMPLES.S file into a working copy of your own, named
MYFILE.S and edit it to add your application code per the comments in
the file itself. The "PE" command is used to invoke the IBM Personal
Editor, but you can use any editor you like.
C>COPY EXAMPLES.S MYFILE.S
C>PE MYFILE.S
Next, copy the MAKE1.BAT file into a working copy of your own, named
MYMAKE.BAT and edit it to change all occurrences of TEST1 to MYFILE (be
sure to do both upper and lower case!).
C>COPY MAKE1.BAT MYMAKE.BAT
C>PE MYMAKE.BAT
Lastly, execute the MYMAKE.BAT file to assemble, link, and build an
S-record file as shown below.
C>MYMAKE
You are now off and running in the Debug Phase. Good luck!
**EOF**